package com.fortune.vo.mPermission;
/**
 * 
 * @author ran
 *
 */

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModelProperty;

public class Menu {
	@JsonIgnore
	private String id;
	@ApiModelProperty(example="菜单名称")
	private String name;
	@ApiModelProperty(example="菜单链接")
	private String url;
	@ApiModelProperty(value="子菜单")
	private List<Menu> menus;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public List<Menu> getMenus() {
		return menus;
	}
	public void setMenus(List<Menu> menus) {
		this.menus = menus;
	}
	@Override
	public String toString() {
		return "Menu [id=" + id + ", name=" + name + ", url=" + url + ", menus=" + menus + "]";
	}
}
